package json;

public class Person {

    private  Integer id;
    private String name;
    private String place;

    //有参构造函数
    public Person(Integer id, String name, String place){
        super();
        this.id = id ;
        this.name = name;
        this.place = place;
    }
     //无参构造函数
    public Person() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }
//
//    @Override
//    public String toString() {
//        return "json.Person [id= " + id +", name= "+ name + ", place= " +place+"]";
//    }
}

